//
//  UIImage+UIImageScale.h
//
//  Created by Lee on 16/4/22.
//  Copyright © 2016年 zify. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Scale)

//截取部分图像
- (UIImage*)getSubImage:(CGRect)rect;

//等比例缩放
- (UIImage*)scaleToSize:(CGSize)size;

//加模糊效果，image是图片，blur是模糊度(0.1~1.9f)
//- (UIImage *)blurryImage:(UIImage *)image withBlurLevel:(CGFloat)blur;
- (UIImage *)blurryImageWithBlurLevel:(CGFloat)blur;

@end
